{php}
if ($zbp->user->ID > 0) {
$curUser = $zbp->user;
} else {
$curUser = $zbp->members[1];
}
if ($zbp->Config("acgMora")->tootOn && $zbp->Config("acgMora")->HasKey('tootID')){
$tooCount = $zbp->categories[$zbp->Config("acgMora")->tootID]->Count;
} else {
$tooCount = 0;
}
//var_dump($curUser->GetData());
{/php}
<div class="user-panel box">
  <div class="user-pic"></div>
  <h3 class="user-name">{$curUser.StaticName}</h3>
  <div class="user-info level is-size-7">
    <a class="level-item has-text-centered" href="javascript:;" title="文章数"><span class="num">{$curUser.Articles}</span><span class="text">文章</span></a>
    <a class="level-item has-text-centered" href="javascript:;" title="说说"><span class="num">{$tooCount}</span><span class="text">说说</span></a>
    <a class="level-item has-text-centered" href="javascript:;" title="评论数"><span class="num">{$curUser.Comments}</span><span class="text">评论</span></a>
  </div>
  <img src="{$curUser.Avatar}" alt="{$curUser.StaticName}" class="user-head">
</div>

<div class="user-about box">
  <ul>
    <!-- QQ -->
    <li><i class="iconfont icon icon-QQ2" style="color: rgb(83, 136, 255);"></i><a target="_blank" href="tencent://message/?uin={$zbp.Config('acgMora').QQ}" rel="nofollow" title="{$zbp.Config('acgMora').QQ}">{$zbp.Config('acgMora').QQ}</a></li>
    <!-- QQ群 -->
    <li><i class="iconfont icon icon-QQqun" style="color: rgb(1, 179, 245);"></i><a target="_blank" href="{$zbp.Config('acgMora').QQGroup}" title="{$zbp.Config('acgMora').QQGroupT}" rel="nofollow">{$zbp.Config('acgMora').QQGroupT}</a></li>
    <!-- Bilibili -->
    <li><i class="iconfont icon icon-bilibili" style="color: rgb(18, 150, 219)"></i><a target="_blank" href="https://space.bilibili.com/{$zbp.Config('acgMora').Bili}" title="{$zbp.Config('acgMora').BiliT}" rel="nofollow">{$zbp.Config('acgMora').BiliT}</a></li>
    <!-- 知乎 -->
    <li><i class="iconfont icon icon-zhihu" style="color: rgb(15, 132, 253)"></i><a target="_blank" href="https://www.zhihu.com/people/{$zbp.Config('acgMora').Zhihu}" title="{$zbp.Config('acgMora').ZhihuT}" rel="nofollow">{$zbp.Config('acgMora').ZhihuT}</a></li>
    <!-- Git -->
    <li><i class="iconfont icon icon-Git"></i><a target="_blank" href="https://github.com/{$zbp.Config('acgMora').Git}" title="{$zbp.Config('acgMora').GitT}" rel="nofollow">{$zbp.Config('acgMora').Git}</a></li>
  </ul>
</div>
